﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace bonus.Models
{
	/// <summary>
	/// 产品表
	/// </summary>
	public class Products
	{
		/// <summary>
		/// ID
		/// </summary>
		public ObjectId _id { get; set; }

		/// <summary>
		/// 产品编号
		/// </summary>
		public string ProNo { get; set; }

		/// <summary>
		/// 产品名称
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// 产品价格
		/// </summary>
		public decimal Money { get; set; }

		/// <summary>
		/// PV值
		/// </summary>
		public int PV { get; set; }

		/// <summary>
		/// 是否下架(默认false)
		/// </summary>
		public bool UnSale { get; set; }

		/// <summary>
		/// 添加时间
		/// </summary>
		public string AddDT { get; set; }
	}
}